const TOKEN_KEY = 'test_geek_pc';
const setToken = (token) => {
  localStorage.setItem(TOKEN_KEY, token);
};
const removeToken = () => {
  localStorage.removeItem(TOKEN_KEY);
};
const getToken = () => {
  return localStorage.getItem(TOKEN_KEY);
};
const hasToken = () => !!getToken();
export { setToken, removeToken, getToken, hasToken };
